package com.cheng.commonlibrary.utlis.teim;

public final class TimeUtils {

    private TimeUtils() {
        throw new RuntimeException("cannot be instantiated");
    }

    /**
     * 获取系统时间
     */
    public static long getSystemTime() {
        return System.currentTimeMillis();
    }

    public static TimeGenerates with(long time) {
        return TimeGenerates.newInstance(time);
    }

    public static TimeGenerates with() {
        return TimeGenerates.newInstance(getSystemTime());
    }
}
